﻿@model KPIS.GERP.Models.ICM.BidderCollateral

@{
    int BidderColId = ((Model != null) && (Model.BidderColId != null)) ? Model.BidderColId : 0 ;
    Layout = "~/Views/Shared/_EmptyLayout.cshtml";
    ViewBag.Title = "รายละเอียดหลักประกัน";
    ViewBag.Descr = "ข้อมูล" + ViewBag.Title + " เลขที่ " + BidderColId.ToString();    
}


<div class="block-button-menu-above">
    @Html.ActionLink("กลับไปหน้าแสดงข้อมูลทั้งหมด", "Index", new { BidderId = (int)Model.BidderId }, new { @class = "btn btn-gray button-standard-width btn-small", role="button" })
    
    @if (ViewBag.bEditable)
    {
        @Html.ButtonEdit(new { Id = Model.BidderColId })    
        @Html.ActionLink("เพิ่ม", "Index", new { BidderId = (int)Model.BidderId }, new { @class = "btn btn-success button-standard-width btn-small", role="button" })
        @Html.ButtonDelete(new { Id = Model.BidderColId })
    }
</div>

@Html.Partial("_DetailsForm")